﻿using System;

namespace Entities
{
    [Serializable]
    public class ChiTietChinhSachGiaHangHoa
    {
        private string hanhdong;
        private string maChinhSachGiaHangHoa;
        private string maHangHoa;
        private string tenHangHoa;
        private int soluong;
        private string phanTramGiaBanBuon;
        private string phanTramGiaBanLe;
        private string ghiChu;
        private bool deleted;
        public ChiTietChinhSachGiaHangHoa()
        { }

        public ChiTietChinhSachGiaHangHoa(string hanhdong, string maChinhSachGiaHangHoa, string maHangHoa, string tenHangHoa,int soluong, string phanTramGiaBanBuon, string phanTramGiaBanLe, string ghiChu, bool deleted)
        {
            this.hanhdong = hanhdong;
            this.maChinhSachGiaHangHoa = maChinhSachGiaHangHoa;
            this.maHangHoa = maHangHoa;
            this.tenHangHoa = tenHangHoa;
            this.soluong = soluong;
            this.phanTramGiaBanBuon = phanTramGiaBanBuon;
            this.phanTramGiaBanLe = phanTramGiaBanLe;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public string HanhDong
        {
            get { return this.hanhdong; }
            set
            {
                this.hanhdong = value;
            }
        }
        public string MaChinhSachGiaHangHoa
        {
            get { return this.maChinhSachGiaHangHoa; }
            set
            {
                this.maChinhSachGiaHangHoa = value;
            }
        }
        public string MaHangHoa
        {
            get { return this.maHangHoa; }
            set
            {
                this.maHangHoa = value;
            }
        }
        public string TenHangHoa
        {
            get { return this.tenHangHoa; }
            set { this.tenHangHoa = value; }
        }

        public int SoLuong
        {
            get { return this.soluong; }
            set { this.soluong = value; }
        }
  
        public string PhanTramGiaBanBuon
        {
            get { return this.phanTramGiaBanBuon; }
            set { this.phanTramGiaBanBuon = value; }
        }
        public string PhanTramGiaBanLe
        {
            get { return this.phanTramGiaBanLe; }
            set { this.phanTramGiaBanLe = value; }
        }
        
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public bool Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
        public override string ToString()
        {
            return this.hanhdong + "; " + this.maChinhSachGiaHangHoa + "; " + this.maHangHoa + this.tenHangHoa + "; " + this.soluong  + "; " + this.phanTramGiaBanBuon + "; " + this.phanTramGiaBanLe + "; " + this.ghiChu + "; " + this.deleted + "; ";
        }
    }

}